package com.team.star.exception;


import com.team.star.utils.ResponseCode;
import lombok.Getter;

/**
 * 自定义异常处理
 */
@Getter
public class ServiceExceptionHandler extends RuntimeException {

    private final ResponseCode responseCode;

    public ServiceExceptionHandler(ResponseCode responseCode) {
        this.responseCode = responseCode;
    }
}